home *** CD-ROM | disk | FTP | other *** search
/ RISC User... in a Nutshell / RISC User... in a Nutshell.iso / !Nutshell / !WebsterLT / !Run < prev    next >
Encoding:
Text File  |  2000-03-31  |  1.6 KB  |  41 lines

  1. If "<Boot$OSVersion>" < 400 Then IconSprites <Obey$Dir>.!Sprites Else IconSprites <Obey$Dir>.4Sprites
  2. |
  3. Set File$Type_FAF HTML
  4. Set Alias$@RunType_FAF Run <Obey$Dir>.!Run %%*0
  5. Set Alias$@RunType_B28 Run <Obey$Dir>.!Run %%*0
  6. Set Alias$@PlugInType_FAF Run <Obey$Dir>.!Run -plugin
  7. Set PlugIn$About_FAF <Obey$Dir>.About
  8. |
  9. IF "<Wimp$ScrapDir>" = "" Then ERROR 0 Scrap Application has not been seen
  10. |
  11. WimpSlot -min 720K -max 720K
  12. |
  13. Set Wimp$Version 310
  14. RmEnsure UtilityModule 3.00 Set Wimp$Version 200
  15. IF "<Wimp$Version>" = "310" Then RmEnsure UtilityModule 3.10 Set Wimp$Version 300
  16. IF "<Wimp$Version>" = "200" Then Error 0 Sorry, this application won't work on RISC OS 2.
  17. Set Window$Version 381
  18. RmEnsure WindowManager 3.81 Set Window$Version 370
  19. |
  20. | Options (Put minus infront to disable, Plus to enable)
  21. | DA - Dynamic areas are ok
  22. | BD - Enables Cacheing os local file information
  23. | TB - If disabled, the default is that the toolbar is hidden
  24. | IB - If disabled, the default is that the infobar is hidden
  25. |
  26. Set WebsterLT$Options +DA -NK +BI -JP +BD -TB -IB
  27. |
  28. Set WebsterLT$Dir <Obey$Dir>
  29. Set WebsterLT$Path <Obey$Dir>.
  30. IF "<Choices$Write>" <> "" Then Set WebsterLT$Choices <Choices$Write>.WebsterLT.Choices
  31. IF "<WebsterLT$Choices>" = "" Then Set WebsterLT$Choices <Wimp$ScrapDir>.WebsterLT.Choices
  32. Set WebsterLTChoices$Path <WebsterLT$Choices>.,<Obey$Dir>.Choices.
  33. |
  34. |For ReadOnly filesystems use the Choices setting below.
  35. |Set WebsterLT$Choices <Wimp$ScrapDir>.WebsterLTI.Choices
  36. |
  37. |Set WebsterLT$Path
  38. <Obey$Dir>.Resources.SetPath WebsterLT$Path <WebsterLT$Dir> WebsterLT
  39. |
  40. WimpSlot -min 720K -max 720K
  41. Run <Obey$Dir>.!RunImage %*0